// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import fastClick from 'fastclick'
import VueAwesomeSwiper from 'vue-awesome-swiper'
import './assets/styles/reset.css'
import './assets/styles/border.css'
import './assets/styles/iconfont.css'
import 'swiper/dist/css/swiper.css'

Vue.config.productionTip = false
/* 移动端点击事件300毫秒的延迟问题被解决 */
fastClick.attach(document.body)
Vue.use(VueAwesomeSwiper)
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
/* 1,import App from './App'  就是  import App from './App.vue';2,定义一个局部组件的使用:components: { App }  其实就是：components: { App:App }如果你的键值是一样的单词，就可以省略;3,初始化渲染一个组件:template: '<App/>';4,router:router这么写运行报错了？？？？ */

/* 路由：就是根据网址的不痛，返回不同的内容给用户 */
